import { AxiosResponse } from '@ohos/axios'
import { Interceptor, Response } from '@coyamo/http_decorators'

export class TestInterceptor implements Interceptor{
  async intercept(chain: Interceptor.Chain): Promise<Response> {
    const request = chain.getRequest()
    request.headers.set("Auth", "xxxxxxxxxxx")
    return chain.proceed(request)
  }
}